AlertCallback

This callback is invoked when JavaScript alert dialog should be displayed. In this callback you can display standard Java modal dialog with the message that you can get from Params.

Use the ok method to tell browser that the alert dialog was closed.

Please note that it is not necessary to display a dialog in this callback.

If the callback throws an exception, the ok method will be invoked.

Inheritors

Types

Link copied to clipboard
An action providing a response to the AlertCallback.
Link copied to clipboard
interface Params
The parameters of the AlertCallback.

Functions

Link copied to clipboard
abstract fun on(params: P, tell: R)
Invoked when the callback needs a response for the given callback parameters.